package cn.itsource.mapper;

import cn.itsource.domain.Article;
import cn.itsource.domain.Permission;
import cn.itsource.query.PermissionQuery;

import java.util.List;

public interface PermissionMapper {


    void del(Long id);

    void delList(List ids);

    List<Permission> pageQuery(PermissionQuery query);

    Permission selectBySn(String permissionSn);

    void add(Permission permission);

    void update(Permission permissionTmp);

    List<Permission> getAll();
}
